package rmaqlc31.basic;

import java.util.Scanner;

public class J05_NumberPiramid {

	public static void main(String[] args) {
		
		Scanner sc = null;
		
		int i;
		int j = 1;
		
		sc = new Scanner(System.in);
		
		System.out.print("Enter the number of lines : ");
		i = sc.nextInt();
		
		while(i>=1){
			while(j>=1){
				if(j>i)
					System.out.println("  ");
				else
					System.out.println(i+" ");
				--j;
			}
			System.out.println();
			--i;
		
		}

	}

}
